import request from '../utils/request'

export const loginApi =(loginForm)=>{
  return request({
    url: '/travel/admin/user/login',
    method: 'post',
    data: loginForm
  })
}

export const updatePasswordApi =(loginForm)=>{
  return request({
    url: `/travel/products/list`,
    method: 'get',
     data:loginForm
  })
}
export const forgetPasswordApi =(loginForm)=>{
  return request({
    url: `/travel/products/list`,
    method: 'get',
     data:loginForm
  })
}
export const sendCodeApi =(loginForm)=>{
  return request({
    url: `/travel/products/list`,
    method: 'get',
     data:loginForm
  })
}